Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated for shared memory support. #328

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hardik05
Copy link
Contributor

updated for shared memory support.

updated for shared memory support.
Copy link
Collaborator

@ifratric ifratric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! One general comment that I have is that this changes the command line params for test_gdiplus.exe, so if we reference it anywhere in the documentation (IIRC we do in a couple of places, e.g. https://github.com/googleprojectzero/winafl/blob/master/readme_dr.md but possibly others), the documentation will be out-of-date and should be updated as well.

gdiplus.cpp Outdated
IStream* stream = SHCreateMemStream(reinterpret_cast<BYTE*>(sample_bytes), sample_size);
image = Gdiplus::Image::FromStream(stream);
}
if (image && (Ok == image->GetLastStatus())) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation seems to be off here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trying multiple options.. but for some reasons its just not working..

@hardik05 hardik05 marked this pull request as draft July 29, 2021 08:11
Copy link
Contributor Author

@hardik05 hardik05 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trying to avoid indentation issue..

gdiplus.cpp Outdated
IStream* stream = SHCreateMemStream(reinterpret_cast<BYTE*>(sample_bytes), sample_size);
image = Gdiplus::Image::FromStream(stream);
}
if (image && (Ok == image->GetLastStatus())) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trying multiple options.. but for some reasons its just not working..

@ifratric
Copy link
Collaborator

For me, it shows as having a 2 tab indentation whereas the line before has a single tab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants